import $axios from '@/plugins/axios'
import { AxiosResponse } from 'axios'

/**
 * 获取Bing每日图片
 * @returns bing图片URL
 */
export async function getBingImage(): Promise<AxiosResponse> {
  return await $axios.get('/bing/HPImageArchive.aspx?format=js&idx=0&n=1')
}
